package designPattern.decorator
{
	import designPattern.decorator.decorators.Decorator_A;
	import designPattern.decorator.decorators.Decorator_B;

	public class MainClass
	{
		public function MainClass()
		{
			var comp:AComponent = new ConcreteComponent();
			comp = new Decorator_A(comp);
			comp = new Decorator_B(comp);
			trace(comp.getAttribute());
		}
	}
}